# Description : Posta uygulamaları için destek sağlayan KDE PIM kütüphanesi
# URL : https://community.kde.org/KDE_PIM
# Packager : alihan-ozturk28@hotmail.com
# Depends on : mailimporter messagelib kf5-extra-cmake-modules kf5-kdoctools boost qt5

name=mailcommon
version=16.08.2
release=1

source=(http://download.kde.org/stable/applications/$version/src/$name-$version.tar.xz)

build() {
  cd $name-$version
  cmake -DCMAKE_BUILD_TYPE=Release        \
        -DCMAKE_INSTALL_PREFIX=/usr       \
        -DCMAKE_INSTALL_LIBDIR=lib        \
        -DBUILD_TESTING=OFF
        
  make
  make DESTDIR=$PKG install
}
